package com.aaa.observermode;

/**
 * @author C-Q
 * @version 1.1.0
 * @Description: TODO
 * @date 2022/11/9
 */
public class User implements UserInterface {

    public User(String name) {
        this.name = name;
    }
    public String name;

    @Override
    public void getMsg(String msg) {
        System.out.println(name+"介绍的公众号消息内容:"+msg);
    }
}
